.pet-edit-container {
  padding: 30px 20px 160px;
  background-color: #fff;

  .page-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
  }

  .avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;

    .avatar-wrapper {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 30px;
      border: 1px solid #ddd;
      background-color: #f0f0f0;
      
      image {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .upload-btn {
      color: $primary;
      border: 1px solid $primary;
      padding: 10px 30px;
      border-radius: 30px;
    }
  }
  .form-item-first-l {
    margin-right: 20rpx;
  }
  .form-item {
    margin-bottom: 40px;
    flex: 1;

    .form-label {
      color: $label-color;
      margin-bottom: 20px;
    }

    .form-input {
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 20px;
      box-sizing: border-box;
    }

    .form-select {
      position: relative;
      &::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #999;
      }
    }

    .date-picker {
      display: flex;
      align-items: center;
      
      .date-icon {
        margin-left: auto;
        color: #999;
      }
    }

    .form-item-card {
      flex: 1;
      border: 1px solid #e5e5e5;
      border-radius: 16px;
      padding: 40px 0 30px;

      .f-i-c-item {
        margin-top: 10px;
      }
    }
    .form-item-active-card {
      border: 1px solid $primary;
      background-color: #FFF0F0;
      color: $primary !important;
    }
  }

  .weight-input {
    position: relative;
    
    &::after {
      content: 'kg';
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      color: #999;
    }
  }

  .submit-btn {
    background-color: $primary;
    color: #fff;
    font-size: $font-sm;
    border-radius: 8px;
    padding: 20px 0;
    text-align: center;
  }
}

.form-box {
  &:after {
    display: none;
  }
  .at-input {
    margin-left: 0;
  }
}